/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.logical.allhit.gui.action;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

/**
 *
 * @author Sanjeet Jha
 */
public class ExitAction extends AbstractAction {

    

    public ExitAction() {
        putValue(NAME, bundle.getString("file.exit"));
        putValue(MNEMONIC_KEY, KeyEvent.VK_X);
        putValue(SHORT_DESCRIPTION, bundle.getString("file.exit.shortdis"));
    }

    

    @Override
    public void actionPerformed(ActionEvent e) {
        Runtime.getRuntime().exit(0);
    }

    
}
